don't force use of conduit in withUrlOptionsPromptingCreds
authorJoey Hess <joeyh@joeyh.name>
Fri, 9 Sep 2022 20:06:47 +0000 (16:06 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 9 Sep 2022 20:07:32 +0000 (16:07 -0400)
commitd2c842e9a124295156b9f8582768ca77c6a81376
treef41bbf8ac4c034b03e34a32d8d4202225383fb75
parent247c0e59cfca2fb5cae896b29d6cdea9293bdc54
don't force use of conduit in withUrlOptionsPromptingCreds

Use curl for downloads from git remotes when annex.url-options and other
git configs are set.

If the url needs a password, curl will fail, and git credential will not be
used to prompt for it. But the user can set --netrc in url-options and
put the password in the netrc file.

This also means that url-options settings like -4 will take effect.
That was the case before commit 1883f7ef8f9f617c60832c7f0794b54515fc652d
forced conduit to be used.
Annex/Url.hs
CHANGELOG
doc/bugs/http_remotes_ignore_annex.web-options_--netrc/comment_2_599a66a1833000dc0e54a33511891b36._comment [new file with mode: 0644]
doc/git-annex.mdwn